#include <stdio.h>
#include "ssm.h"

/*This is a simple unit test to make sure carSet function for read and write work correctly
*/
int main()
{
	Car car,read;

	car.A=		1;
	car.C_d=	2;
	car.C_rr=	3;
	car.W=		4;
	car.M=		5;
	car.B_C=	6;
	car.B_CRate=	7;
	car.B_CPeukert=	8;
	car.B_n=	9;
	car.P_arrayMax=	10;
	car.M_d=	11;
	car.M_r=	12;
	car.P_p=	13;	

	writeCar("testcar.out",&car);
	readCar("testcar.out",&read);

	printCar(car);
	printCar(read);

}
